package com.itheima.service.sms;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.result.PageResult;
import com.itheima.vo.sms.SmsHomeBrand;

import java.util.List;


public interface SmsHomeBrandService extends IService<SmsHomeBrand> {

    void create(SmsHomeBrand smsHomeBrand);

    /**
     * 分页查询推荐品牌
     * @param brandName
     * @param pageNum
     * @param pageSize
     * @param recommendStatus
     * @return
     */
    PageResult selectByPage(String brandName, Integer pageNum, Integer pageSize, Integer recommendStatus);

    /**
     * 修改品牌状态
     * @param ids
     * @param recommendStatus
     */
    void updateStatus(List<Long> ids, Integer recommendStatus);

    void updateSort(Long id, Integer sort);
}
